package com.ht.temp.controller;


import com.ht.temp.entity.OffLineTemperature;
import com.ht.temp.service.IOffLineTemperatureService;
import com.ht.temp.service.IOnLineTemperatureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-19
 */
@RestController
@RequestMapping("/offlineTemperature")
public class OffLineTemperatureController {
    @Autowired
    private IOffLineTemperatureService offLineTemperatureService;

    @RequestMapping(value = "",method = RequestMethod.GET)
    public List<OffLineTemperature> selectByOffLineTemperature(OffLineTemperature offLineTemperature){
       return offLineTemperatureService.selectByOffLineTemperature(offLineTemperature);
    }
}
